import BaseTemplate from "@/components/layout/BaseTemplate.vue";

export default [
  {
    path: "/inventory",
    name: "inventoryTemplate",
    component: BaseTemplate,
    children: [
      {
        path: "purchased",
        name: "purchased",
        component: () =>
          import(
            /* webpackChunkName: "purchased" */ "@/views/inventory/EnterWarehouseOutsourcingMaterialReceipt.vue"
          ),
        meta: {
          title: "外购物料扫码入库",
        },
      },
      {
        path: "steel-bar-inventory",
        name: "steelBarInventory",
        component: () =>
          import(
            /* webpackChunkName: "steelBarInventory" */ "@/views/inventory/EnterWarehouseReinforcementNumberReceipt.vue"
          ),
        meta: {
          title: "钢筋点数入库",
        },
      },
      {
        path: "material-inverted-library",
        name: "materialInvertedLibrary",
        component: () =>
          import(
            /* webpackChunkName: "materialInvertedLibrary" */ "@/views/inventory/InvertedWarehouseOutsourcingMaterialReceipt.vue"
          ),
        meta: {
          title: "原料领料和倒库",
        },
      },
      {
        path: "raw-forearm",
        name: "rawForearm",
        component: () =>
          import(
            /* webpackChunkName: "rawForearm" */ "@/views/inventory/OutWarehouseMaterialReceipt.vue"
          ),
        meta: {
          title: "原料出库",
        },
      },
      {
        path: "check-off-prices",
        name: "checkOffPrices",
        component: () =>
          import(
            /* webpackChunkName: "checkOffPrices" */ "@/views/inventory/MaterialNuclearPriceReceipt.vue"
          ),
        meta: {
          title: "原料核价",
        },
      },
      {
        path: "cost",
        name: "cost",
        component: () =>
          import(
            /* webpackChunkName: "cost" */ "@/views/inventory/ProgrammeMaterialCostReceipt.vue"
          ),
        meta: {
          title: "工程原料成本",
        },
      },
      {
        path: "entry-storage",
        name: "entryStorage",
        component: () =>
          import(
            /* webpackChunkName: "entryStorage" */ "@/views/inventory/EnterWarehouseHomemadeReceipt.vue"
          ),
        meta: {
          title: "成品扫码入库",
        },
      },
      {
        path: "finished-inverted-library",
        name: "finishedInvertedLibrary",
        component: () =>
          import(
            /* webpackChunkName: "finishedInvertedLibrary" */ "@/views/inventory/InvertedWarehouseHomemadeReceipt.vue"
          ),
        meta: {
          title: "成品倒库",
        },
      },
    ],
  },
];
